package com.project.bean;

/**
 * 收件箱对象实体类
 */
public class InboxBean {
    /**收件编号*/
    private Integer inboxId;
    /**阅读状态*/
    private String readStatus ="未阅读";
    /**收件人对象*/
    private UserBean userBean;
    /**邮件对象*/
    private MailBean mailBean;

    public InboxBean() {
    }

    public InboxBean(String readStatus) {
        this.readStatus = readStatus;
    }

    public Integer getInboxId() {
        return inboxId;
    }

    public void setInboxId(Integer inboxId) {
        this.inboxId = inboxId;
    }

    public String getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(String readStatus) {
        this.readStatus = readStatus;
    }

    public UserBean getUserBean() {
        return userBean;
    }

    public void setUserBean(UserBean userBean) {
        this.userBean = userBean;
    }

    public MailBean getMailBean() {
        return mailBean;
    }

    public void setMailBean(MailBean mailBean) {
        this.mailBean = mailBean;
    }

    @Override
    public String toString() {
        return "InboxBean{" +
                "inboxId=" + inboxId +
                ", readStatus='" + readStatus + '\'' +
                ", userBean=" + userBean +
                ", mailBean=" + mailBean +
                "}\n";
    }
}
